package learningtests;

import static org.junit.Assert.*;

import org.junit.Test;

public class RegExLearning {
    
    @Test
    public void testMatchWithIndexPattern() {
        String patternString = "((?:\\w+[ ])+\\w+)(\t\\w+)(\t\\w+)";
        String index = "thu unicode\tsasdf\tasdf";
        boolean matched = index.matches(patternString);
        assertTrue(matched);
    }
    
}
